package com.feishi.core.util.common.thread;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: caixq
 * Date: 2018-10-22
 * Time: 下午2:43
 */
public class ThreadA extends Thread{

    public ThreadA(String name){
        super(name);
    }

    public void run(){
        synchronized (this) {
            System.out.println(Thread.currentThread().getName()+" run");
            //唤醒当前的wait线程
            notify();
        }
    }

}
